package mx.com.mindbits.bandpay.utils;

import mx.com.mindbits.bandpay.vo.TAECompraVO;
import android.content.Context;

public class Validations {
	
	public static boolean TAEPurchaseValidation(TAECompraVO compra, Context context){
		boolean flagResponse = true;
		
		if (compra.getCard().isEmpty()||compra.getCard() == null){
			flagResponse = false;
		}
		
		if (compra.getVigencia().isEmpty()||compra.getVigencia()==null){
			flagResponse = false;
		}
		if (compra.getCvv2().isEmpty()||compra.getCvv2()==null){
			flagResponse = false;
		}
		return flagResponse;
	}

}
